package com.infocollect.project.api.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.infocollect.project.api.entity.TappExcelDBEntity;
import com.infocollect.project.api.mapper.TappExcelDBMapper;
import com.infocollect.project.api.service.ITappExcelDBService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* (TappExceldb)表服务实现类
*
* @author Mr.Wang
* @version 1.0
* @since 2020/6/1 21:28
*/
@Service
public class TappExceldbServiceImpl extends ServiceImpl<TappExcelDBMapper, TappExcelDBEntity> implements ITappExcelDBService {


    @Override
    public  TappExcelDBEntity queryById(Integer id){
        return  baseMapper.queryById(id);
    }
    @Override
    public  List<TappExcelDBEntity> queryAll(TappExcelDBEntity entity){
        return  baseMapper.queryAll(entity);
    }
    @Override
    public  int insert(TappExcelDBEntity entity){
        return  baseMapper.insert(entity);
    }
    @Override
    public  int update(TappExcelDBEntity entity){
        return baseMapper.updateById(entity);
    }
    @Override
    public  int  deleteById(Integer id){
        return baseMapper.deleteById(id);
    }
    @Override
    public TappExcelDBEntity QueryByExcelApiName( String apicode){
        return baseMapper.QueryByExcelApiName(apicode);
    }

}